
<!DOCTYPE html>
<html>
<head>
<title>Class</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<form method="post" action="class.php">
<table>
<tr>
<td>
<input name = "id" id = "index" type = "text" value = "<?php echo "$id";?>" readonly>
</td>
</tr>
<tr>
<td>
Date :
</td>
<td>
<?php 
$date = date('d,m,Y');?>
<input name = "date" type = "text" readonly value = "<?php echo "$date";?>">
</td>
</tr>
<tr>
<td>
Name :
</td>
<td>
<input name = "outname" id = "newn" type = "text" value = "<?php echo"$name";?>"readonly>
</td>
</tr>
<tr>
<td>
Message :
</td>
<td>
<input name = "outmess" id = "newm" type = "text" value = "<?php echo"$mess";?>" readonly>
</td>
</tr>
<tr>
<td>
</td>
<td>
<output id = "comment" ><?php comment($id);?> </output>
</td>
</tr>
<tr>
<td>
<input type = "submit" name = "redact" value = "редактировать" class = "button" formaction = "redact.php">
</td>
<td>
<input type = "submit" name = "delete" value = "удалить" class = "button" formaction = "delete.php">
</td>
<td>
<input type = "submit" name = "comment_button" value = "комментарий" class = "button" formaction = "comment.php">
</td>
</tr>
</table>
<br>
<br>
<br>
</form>








	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</body>	
</html>

